package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年5月29日 上午9:25:36 
 * 类说明 
 */
public class PsCAppStepPmiPrimary implements Serializable {

	private static final long serialVersionUID = 5059402854145115144L;

	
	private BigDecimal seqnbr;
	
	private String cAppId;

	private String cWfType;
	
	private String deptid;
	
	private Date effdt;
	
	private String setid;
	
	private String cDisFld;

	private String cDisRec;
	
	public PsCAppStepPmiPrimary() {
	}

	/**
	 * @param seqnbr
	 * @param cAppId
	 * @param cWfType
	 * @param deptid
	 * @param effdt
	 * @param setid
	 */
	public PsCAppStepPmiPrimary(BigDecimal seqnbr, String cAppId,
			String cWfType, String deptid, Date effdt, String setid) {
		super();
		this.seqnbr = seqnbr;
		this.cAppId = cAppId;
		this.cWfType = cWfType;
		this.deptid = deptid;
		this.effdt = effdt;
		this.setid = setid;
	}

	public BigDecimal getSeqnbr() {
		return seqnbr;
	}

	public void setSeqnbr(BigDecimal seqnbr) {
		this.seqnbr = seqnbr;
	}

	public String getcAppId() {
		return cAppId;
	}

	public void setcAppId(String cAppId) {
		this.cAppId = cAppId;
	}

	public String getcWfType() {
		return cWfType;
	}

	public void setcWfType(String cWfType) {
		this.cWfType = cWfType;
	}

	public String getDeptid() {
		return deptid;
	}

	public void setDeptid(String deptid) {
		this.deptid = deptid;
	}

	public Date getEffdt() {
		return effdt;
	}

	public void setEffdt(Date effdt) {
		this.effdt = effdt;
	}

	public String getSetid() {
		return setid;
	}

	public void setSetid(String setid) {
		this.setid = setid;
	}


	
	public String getcDisFld() {
		return cDisFld;
	}

	public void setcDisFld(String cDisFld) {
		this.cDisFld = cDisFld;
	}

	public String getcDisRec() {
		return cDisRec;
	}

	public void setcDisRec(String cDisRec) {
		this.cDisRec = cDisRec;
	}
	
	

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((cAppId == null) ? 0 : cAppId.hashCode());
		result = prime * result + ((cDisFld == null) ? 0 : cDisFld.hashCode());
		result = prime * result + ((cDisRec == null) ? 0 : cDisRec.hashCode());
		result = prime * result + ((cWfType == null) ? 0 : cWfType.hashCode());
		result = prime * result + ((deptid == null) ? 0 : deptid.hashCode());
		result = prime * result + ((effdt == null) ? 0 : effdt.hashCode());
		result = prime * result + ((seqnbr == null) ? 0 : seqnbr.hashCode());
		result = prime * result + ((setid == null) ? 0 : setid.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsCAppStepPmiPrimary other = (PsCAppStepPmiPrimary) obj;
		if (cAppId == null) {
			if (other.cAppId != null)
				return false;
		} else if (!cAppId.equals(other.cAppId))
			return false;
		if (cDisFld == null) {
			if (other.cDisFld != null)
				return false;
		} else if (!cDisFld.equals(other.cDisFld))
			return false;
		if (cDisRec == null) {
			if (other.cDisRec != null)
				return false;
		} else if (!cDisRec.equals(other.cDisRec))
			return false;
		if (cWfType == null) {
			if (other.cWfType != null)
				return false;
		} else if (!cWfType.equals(other.cWfType))
			return false;
		if (deptid == null) {
			if (other.deptid != null)
				return false;
		} else if (!deptid.equals(other.deptid))
			return false;
		if (effdt == null) {
			if (other.effdt != null)
				return false;
		} else if (!effdt.equals(other.effdt))
			return false;
		if (seqnbr == null) {
			if (other.seqnbr != null)
				return false;
		} else if (!seqnbr.equals(other.seqnbr))
			return false;
		if (setid == null) {
			if (other.setid != null)
				return false;
		} else if (!setid.equals(other.setid))
			return false;
		return true;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
}
 